package com.itheima.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.leyou.po.SpecParam;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.dto.SpecParamDTO;

import java.util.List;

public interface SpecParamService extends IService<SpecParam> {
    List<SpecGroupDTO> listSpecGroup(Long categoryId);

    List<SpecParamDTO> querySpecParam( Long categoryId,Long groupId, Boolean searching);

    void addParam(SpecParamDTO paramDTO);

    void updateParam(SpecParamDTO paramDTO);
}
